package ai.plantdata.dao.strategy;

import ai.plantdata.graph.api.schema.ConceptDefinition;
import ai.plantdata.graph.mongo.MongoGraphStore;
import ai.plantdata.vo.DataSourceConfig;
import ai.plantdata.vo.SeparateTable;

import java.util.List;

/**
 * @Author: WangHui
 * @Date: 2021/7/16 17:09
 * @Description:非中间表处理
 */
public interface SeparateHandle extends Handle {
    /**
     * 建模
     *
     * @param separateDTO
     * @return
     */
    List<ConceptDefinition> schemaHandle(SeparateTable separateDTO, DataSourceConfig dataSourceConfig, MongoGraphStore store);

    /**
     * 读取实体
     *
     * @param separateDTO
     * @return
     */
    void entityHandle(SeparateTable separateDTO, DataSourceConfig dataSourceConfig, MongoGraphStore store);

}
